import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
const app = createApp(App);
import { Button,Cell, CellGroup } from 'vant';
app.directive('back', { // 全局的指令
  beforeMount(el,binding){
    el.style.background = binding.value;
  },
  updated(el, binding) {
    el.style.background = binding.value;
  },
});


app.use(store).use(Button).use(Cell).use(CellGroup).use(router).mount('#app')
